<?php
class shipOrder extends CI_Controller{
    public function __construct(){
        parent::__construct();
        
    }
    public function user_login(){
        $this->session->set_userdata('navigation','User Login');
         $data['main_content']='user_login';
         $data['valida_error']='No name field';
         
        $this->load->view('ship_template',$data);
    }
    public function contact_us()
    {
        $this->session->set_userdata('navigation','Contact Us');
        $data['main_content']='contact_us';
        $this->load->view('ship_template',$data);
        
    }
    public function about_us()
    {
        $this->session->set_userdata('navigation','About Us');
        $data['main_content']='about_us';
        $this->load->view('ship_template',$data);
    }
    public function home(){
        $this->session->set_userdata('navigation','');
        $data['main_content']='home';        
        $this->load->view('ship_template',$data);
    }
    public function logout(){
        
        $data['main_content']='logout';
        $this->load->view('ship_template',$data);
    }
    
    public function login_success(){
        $data['main_content']='login_success';
        $this->load->view('ship_template',$data);
    }
    public function add_user(){
        
        $this->session->set_userdata('navigation','Add User');
        $this->load->model('user_model');
        $cond['user_category_deleted']=0;
        $data['user_category']=$this->user_model->get_user_category($cond)->result();
        $data['main_content']='add_user';
        $this->load->view('ship_template',$data);
    }
    public function add_user_category(){
        $this->session->set_userdata('navigation','Add User Category');
        $data['main_content']='add_user_category';
        $this->load->view('ship_template',$data);
    }
    
    public function add_couriers(){
        $data['main_content']='add_couriers';
        $this->load->view('ship_template',$data);
    }
   
    
}
 ?>